﻿@model Xuanren_FrontEnd.Model.News
@{
    Layout = null;
}

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="applicable-device" content="pc,mobile" />
    <title>新闻详细页</title>
    <link href="~/static/css/bootstrap.css" rel="stylesheet" />
    <link href="~/static/css/glide.css" rel="stylesheet" />
    <link href="~/static/css/style.css" rel="stylesheet" />
    <link href="~/static/css/online.css" rel="stylesheet" />
    <script src="~/static/js/jquery.min.js" type="text/javascript"></script>
    <script src="~/static/js/bootstrap.js" type="text/javascript"></script>
    <script src="~/static/js/jquery.glide.js" type="text/javascript"></script>
    <script src="~/static/js/common.js" type="text/javascript"></script>
    <script src="~/static/js/online.js" type="text/javascript"></script>
</head>

<body>

    @Html.Action("Header", "Shared")

    <!-- 内容 -->
    <div class="container">
        <div class="row">

            <div class="col-xs-12 col-sm-8 col-md-9" id="rightBox">

                <div class="positionBox">
                    <div class="titleBar">
                        <h1>当前位置</h1>
                        <span></span>
                        <a href="index.html">首页</a> > <a href="article.html">新闻中心</a>
                    </div>
                </div>

                <div class="col-sm-12 col-md-12 pad">

                    <div class="detailTitle" style="border:0px; background:none; font-size:20px; color:#000;">
                       @Model.title
                    </div>

                    <div class="detailTime">
                        @Model.create_time
                    </div>

                    <div class="detailContent">

                        <span style="color:#505050;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:14px;line-height:22px;">
                            @Model.content
                        </span>

                    </div>

                    @*<div class="otherPageBox">

                        <div class="col-xs-9 col-sm-9 col-md-9 pad">
                            <div class='otherPage'>
                                <div class='prevBox'>上一个：<a href='article_detail.html' title="浅谈URL使用在前端设计中的优化">浅谈URL使用在前端设计中的优化</a></div>
                                <div class='nextBox'>下一个：<a href='article_detail.html' title="网页前端将在网站中占据很大的空间和位置">网页前端将在网站中占据很大的空间和位置</a></div>
                            </div>
                        </div>

                        <div class="col-xs-3 col-sm-3 col-md-3 pad">
                            <a class="back" href="javascript:history.go(-1)">返回</a>
                        </div>

                    </div>*@

                </div>

            </div>

            <div class="col-xs-12 col-sm-4 col-md-3">

                <div class="navigationBox" id="classification">
                    <div class="titleBar">
                        <h1>导航栏目</h1>
                        <span></span>
                    </div>
                    <div class="list">
                        <ul id="firstpane">
                            @foreach (Xuanren_FrontEnd.Model.NewsType item in ViewBag.ArticleTyleList)
                            {
                                if (ViewBag.ArticleId == item.id)
                                {
                                    <li><a class='selected' href='/Article/ArticleList/@item.id'>@item.TypeName</a></li>
                                }
                                else
                                {
                                    <li><a class='' href='/Article/ArticleList/@item.id'>@item.TypeName</a></li>
                                }

                            }
                        </ul>
                    </div>
                </div>

                @Html.Action("NavigationBar", "Shared")


            </div>

        </div>
    </div>

    @Html.Action("Footer", "Shared")


    <script type="text/javascript">
        function mShare() {
            $("#mShareBox").toggle();
            $("#serviceBox").hide();
        }

        if ($(".banner .slider__wrapper li").length == 0) {
            $(".banner").addClass("emptyBanner");
        }

        function showService() {
            $("#mShareBox").hide();
            $("#serviceBox").toggle();
        }
    </script>

</body>
</html>

